package com.cray.intelligenthydrologyback.client.domain.entity;

import com.cray.intelligenthydrologyback.client.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网管注册对象 hydrologic_gatewayRegist
 */
@Data
public class HydrologicGatewayregist extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 对接ip地址
     */
    @ApiModelProperty(value = "ip地址")
    private String ipAddress;

    /**
     * 对接账号
     */
    @ApiModelProperty(value = "对接账号")
    private String ipAccount;

    /**
     * 对接密码
     */
    @ApiModelProperty(value = "对接密码")
    private String ipPassword;

    /**
     * 是否删除，0：是，1：否
     */
    private String delFlag;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ipAddress", getIpAddress())
                .append("ipAccount", getIpAccount())
                .append("ipPassword", getIpPassword())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
